lib/repo: assert that writable state and error agree
authorLuca BRUNO <luca.bruno@coreos.com>
Tue, 7 Dec 2021 16:13:54 +0000 (16:13 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Tue, 7 Dec 2021 16:21:21 +0000 (16:21 +0000)
commitf1e24945fa03c12417ba0e47fedc8e87c9c0a1f1
tree8a08540cfb34dbbe6ade272241f38b792369cac1
parenta07b8d6c0076d424555c37b6fa462ce279b831c0
lib/repo: assert that writable state and error agree

This adds an assertion to check that writable stable and error
are in sync. The subsequent logic uses them interchangeably.
src/libostree/ostree-repo.c